import React from "react";
import { BrowserRouter, Route, Routes } from "react-router-dom";
// import "../utils/Rem";
import HomePage from "./pages/HomePage";
import Blog from "./pages/Blog";
import AboutBook from "./pages/AboutBook";

const AppDirectory = () => {
  return(
    <BrowserRouter>
      <Routes>
        <Route path="/" element={<HomePage />} />
        <Route path="/Blog" element={<Blog />} />
        <Route path="/AboutBook/:id" element={<AboutBook />} />
      </Routes>
    </BrowserRouter>
  );
};

export default AppDirectory;